<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="">
    <meta name="author" content="">

    <title>模板创建</title>
    <base href= "<?php echo base_url();?>">

    <!-- Bootstrap core CSS -->
    <link href="./style/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom styles for this template -->

    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <![endif]--
    <!--[if lt IE 9]>
    <script src="./style/js/respond.min.js"></script>
    <script src="./style/js/html5shiv.min.js"></script>
    <![endif]-->

    <style type="text/css">
        body{
            padding-top: 50px;
        }
        .sidebar{
            display: none;
        }
        /*@media (min-width: 768px) {*/
        /*.sidebar {*/
        /*position: fixed;*/
        /*top: 51px;*/
        /*bottom: 0;*/
        /*left: 0;*/
        /*z-index: 1000;*/
        /*display: block;*/
        /*padding: 20px;*/
        /*overflow-x: hidden;*/
        /*overflow-y: auto; !* Scrollable contents if viewport is shorter than content. *!*/
        /*background-color: #f5f5f5;*/
        /*border-right: 1px solid #eee;*/
        /*}*/
        /*}*/
        @media (min-width: 768px){
            .sidebar{
                position: fixed;
                top: 51px;
                bottom: 0px;
                left: 0px;
                z-index: 1000;
                display: block;
                padding: 20px;
                overflow-x: hidden;
                overflow-y: auto;
                background-color: #f5f5f5;
                border-right: 1px solid #eee;
                /*border: 1px solid red;*/
            }
        }
        .nav-sidebar{
            margin-right: -21px;
            margin-bottom: 20px;
            margin-left: -20px;
        }
        .nav-sidebar > li > a{
            padding-right: 20px;
            padding-left: 20px;
        }
        .nav-sidebar > .active > a,
        .nav-sidebar > .active > a:hover,
        .nav-sidebar > .active > a:focus{
            color: #fff;
            background-color: #428bca;
        }

    </style>
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                <span class="sr-only">下拉菜单</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">主页</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
            <ul class="nav navbar-nav navbar-right">
                <li><a href="#">帮助</a></li>
                <li><a href="#">注销</a></li>
            </ul>
        </div>
    </div>
</nav>
<div class="container-fluid">
<div class="row">
    <div class="col-sm-3 col-md-2 sidebar">
        <ul class="nav nav-sidebar">
            <li class="active"><a href="./home.html">开始监控</a></li>
            <li><a href="./template/create.html">新建8583模板</a></li>
            <li><a href="./address/create.html">添加后台地址</a></li>
        </ul>
    </div>
    <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2">
        <div class="modal fade" id="reg-success-panel" tabindex="-1" role="dialog" aria-labelledby="isee-reg-title">
            <div class="modal-dialog modal-sm" role="document">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                        <h4 class="modal-title" id="isee-reg-title"><?php echo $title?></h4>
                    </div>
                    <div class="modal-body">
                        <h1><?php echo $msg;?></h1>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-success" id="reg-ok-btn">确认</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<!-- Bootstrap core JavaScript
   ================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="./style/js/jquery-1.12.3.js"></script>
<script src="./style/js/bootstrap.min.js"></script>
<script src="./style/js/modal.js"></script>
<!-- Just to make our placeholder images work. Don't actually copy the next line! -->
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script type="text/javascript">
    window.onload = function () {
        $('#reg-success-panel').modal({
            backdrop: 'static'
        });
        $('#reg-ok-btn').click(function () {
            window.location = './home.html';
        });
    }
</script>
</html>